package com.dk.mapper;

import com.dk.pojo.PlayerPosition;
import com.dk.pojo.PlayerPositionExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PlayerPositionMapper {
    int countByExample(PlayerPositionExample example);

    int deleteByExample(PlayerPositionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PlayerPosition record);

    int insertSelective(PlayerPosition record);

    List<PlayerPosition> selectByExample(PlayerPositionExample example);

    PlayerPosition selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PlayerPosition record, @Param("example") PlayerPositionExample example);

    int updateByExample(@Param("record") PlayerPosition record, @Param("example") PlayerPositionExample example);

    int updateByPrimaryKeySelective(PlayerPosition record);

    int updateByPrimaryKey(PlayerPosition record);

    void updateByAccout(@Param("position")PlayerPosition position);

    void deleteByPlayerAccount(Integer playerAccount);
}